package com.trailer.base.inter

import android.os.Bundle
import androidx.annotation.StringRes
import com.trailer.base.view.BView

interface IRepository {
    fun toast(msg: String?)
    fun toast(@StringRes msgId: Int)
    fun <T> single(clazz: Class<T>)
    fun <T> bundle(clazz: Class<T>, bundle: Bundle?)
    fun attachView(view: BView)
    fun init()
    fun view(): BView?
}
